#ifndef GMRETURNPING_H
#define GMRETURNPING_H

#include "GameMessage.h"
#include "Vec3.h"

class GMReturnPing : public GameMessage
{
public:
	GMReturnPing();
	virtual void Execute() override;
	virtual bool Read(SocketMessage* sm) override;
	virtual void Write(SocketMessage* sm) override;
	
private:
	unsigned int m_latency;
	Vec3fNet m_pos;
	int m_id;
};

#endif //GMPINGCONNECTION_H